版权声明:本文为博主原创文章,转载请注明出处:http://blog.jerkybible.com/2013/09/16/2013-09-16-CODE 9 Binary Tree Maximum Path Sum/
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,
1
/ \
2 3
Return 6
.
|
|